package com.ruoyi.course.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 上课时间对象 lab_course_date
 *
 * @author jun.wang
 * @date 2022-05-04
 */
public class LabCourseDate extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long id;

	/** 课程ID */
	@Excel(name = "课程ID")
	private Long courseId;

	/** 实验室 */
	@Excel(name = "实验室")
	private Long labId;

	/** 开课地点 */
	@Excel(name = "开课地点")
	private String classRoomId;

	/** 上课时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "上课时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date courseDate;

	/** 节次开始 */
	@Excel(name = "节次开始")
	private Integer sectionStart;

	/** 节次结束 */
	@Excel(name = "节次结束")
	private Integer sectionEnd;
	
	private String classNo;

	public String getClassNo() {
		return classNo;
	}

	public void setClassNo(String classNo) {
		this.classNo = classNo;
	}
	private String nickName;

	private Integer userNum;

	private String courseName;

	private Long appointId;
	
	private Integer weekNum;
	
	/** 课程时间表ID */
	private Long timetableId;
	
	public Long getTimetableId() {
		return timetableId;
	}

	public void setTimetableId(Long timetableId) {
		this.timetableId = timetableId;
	}

	public Integer getWeekNum() {
		return weekNum;
	}

	public void setWeekNum(Integer weekNum) {
		this.weekNum = weekNum;
	}
	private List<Integer> sectionList;
	

	public List<Integer> getSectionList() {
		return sectionList;
	}

	public void setSectionList(List<Integer> sectionList) {
		this.sectionList = sectionList;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getUserNum() {
		return userNum;
	}

	public void setUserNum(Integer userNum) {
		this.userNum = userNum;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Long getAppointId() {
		return appointId;
	}

	public void setAppointId(Long appointId) {
		this.appointId = appointId;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}

	public Long getCourseId() {
		return courseId;
	}

	public void setLabId(Long labId) {
		this.labId = labId;
	}

	public Long getLabId() {
		return labId;
	}

	public void setClassRoomId(String classRoomId) {
		this.classRoomId = classRoomId;
	}

	public String getClassRoomId() {
		return classRoomId;
	}

	public void setCourseDate(Date courseDate) {
		this.courseDate = courseDate;
	}

	public Date getCourseDate() {
		return courseDate;
	}

	public void setSectionStart(Integer sectionStart) {
		this.sectionStart = sectionStart;
	}

	public Integer getSectionStart() {
		return sectionStart;
	}

	public void setSectionEnd(Integer sectionEnd) {
		this.sectionEnd = sectionEnd;
	}

	public Integer getSectionEnd() {
		return sectionEnd;
	}
	private String remark;
	

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("courseId", getCourseId()).append("labId", getLabId()).append("classRoomId", getClassRoomId())
				.append("courseDate", getCourseDate()).append("sectionStart", getSectionStart())
				.append("sectionEnd", getSectionEnd()).toString();
	}
}